inside out
verb
°With the inside surface turned to be on the outside.
"I now realise that I have my shirt on inside out."
°Of knowledge: Thoroughly, extremely well.
"I know IBM Assembler Language inside out."